<!-- Begin issues/status.tpl -->

<form method="post" action="?module=suivi&action=times">

{opentable}
<tr>
	<td class="sectiontableentry2" width = "30%" align="right" valign="middle">{$lg->perio}</td>
	<td class="sectiontableentry1" width = "80%">
	     <input type="text" size="12" name="datdeb" value="{$datdeb}" /> 
		{$lg->to}
		{date_select name="datfin" value=$datfin}
	</td>	
</tr>
<tr>
	<td class="sectiontableentry2" width = "30%" align="right" valign="middle">{$lg->issues}</td>
	<td class="sectiontableentry1" width = "80%">
	    <input type="text" size="10" name="isdeb" value="{$isdeb}" /> 
		{$lg->to}
		<input type="text" size="10" name="isfin" value="{$isfin}" /> 
	</td>	
</tr>
<tr>
	<td class="sectiontableentry2" width="20%" align="right" valign="middle">{$lg->group}</td>
	<td class="sectiontableentry1" width="80%">
		<select name="gid">
			<option value=""></option>
			{foreach from=$smarty.session.groups item=group}	
				<option {if ($gid == $group)} selected {/if} value="{$group}" >{groupname id=$group}</option >
			{/foreach}
			</select>
	</td>		
</tr>
<tr>
<td class="sectiontableentry1" colspan="2"><input type="submit" name="validate" class="button" align="center" value={$lg->OK} /></td>
</tr>
</table>
</form>

<br/>

{foreach from=$t_datas item=s_datas}
	{if $s_datas.line_type == 'H'}
		<table class = "s_cost" "border = "0" style = "margin-left: 20px ;" >
			<tr >
				<td class="htitle" colspan="9">{groupname id=$s_datas.gid}</td>
			</tr>
	{elseif $s_datas.line_type == 'I'}
			<tr class = "row1">
				<td  align="right" width = "5%" >{$s_datas.issueid}</td>
				<td colspan="7" align="left">{$s_datas.summary|stripslashes}</td>
			</tr>
	{elseif $s_datas.line_type == 'N'}
			<tr >
				<td width = "5%">&nbsp;</td>
				<td width = "2%">&nbsp;</td>
				<td width = "10%">{username id=$s_datas.idusr}</td>
				<td width = "20%" align="left">{$s_datas.mtime|userdate}</td>
				<td width = "10%" align="left">{$s_datas.ttask}</td>
				<td width = "10%" align="left">{$s_datas.cost}</td>
				<td width = "10%" align="left">&nbsp;</td>
				<td width = "30%" align="left">&nbsp;</td>
			</tr>
	{elseif $s_datas.line_type == 'T'}
			<tr style = "font:bold;">
				<td colspan = "3">&nbsp;</td>
				<td align="right">{$lg->total}</td>
				<td align="left">{$s_datas.ttask}</td>
				<td align="left">{$s_datas.cost}</td>
				<td align="left">{$s_datas.icost}</td>
				<td align="left">&nbsp;</td>
			</tr>			
	{elseif $s_datas.line_type == 'F'}
		</table>	
	{/if}
{/foreach}
</table>
<!-- End issues/status.tpl -->